package com.storeselector.storemanagement

class Product {

	static belongsTo = [store:Store]
	
	String name
	String sku
	double price
	double salePrice
	Date salePriceExpiration
	String description
	
    static constraints = {
		name nullable: false, blank: false
		sku nullable: true, blank: true
		price nullable:false, blank: false
		salePrice nullable: true, blank: true
		salePriceExpiration nullable: true, blank: true
		description nullable:true, blank:true
    }
}
